#include "cpu/exec/template-start.h"

#define instr ret

static void do_execute() {

    // 从栈中弹出返回地址到 eip
    cpu.eip = swaddr_read(cpu.esp, DATA_BYTE, 2) - 1;
    cpu.esp += DATA_BYTE;  // 恢复栈指针

    print_asm_template1();
}
make_helper(concat(ret_, SUFFIX)) {
    do_execute();
    return 1;
}


#include "cpu/exec/template-end.h"
